package com.animal.mapper;

import com.animal.entity.AnAnimal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author animal
 * @since 2022-01-28
 */
@Mapper
public interface AnAnimalMapper extends BaseMapper<AnAnimal> {
        List<AnAnimal> findAll();
        AnAnimal selectById(Integer anId);
        AnAnimal selectByName(String name);
}
